package cn.bellychang.ood.atmsimulator.transaction;

import cn.bellychang.ood.atmsimulator.Atm;

/**
 * @author ChangLiang
 * @date 2020/5/21
 */
public interface Transaction {

    boolean preProcess(Atm atm);

    void doTransaction(Atm atm);

    boolean postProcess(Atm atm);
}
